class UrlMappings {

	static mappings = {

		"/rest/jobSite/$id?"(resource: "jobSite")
		"/rest/jobSites"(controller: "jobSite") {
			action = [GET: "list"]
		}

		"/$controller/$action?/$id?"{ constraints {
				// apply constraints here
			} }

		"/"(view:"/index")
		"500"(view:'/error')
	}
}
